#include <iostream>
#include <cstdlib>
#define MAXN 510

int n;
int a[MAXN];

int main ()
{
    while (scanf("%d",&n)==1)
    {
        memset(a,0,sizeof(a));
        for (int i=0;i<n;i++)
            scanf("%d",&a[i]);

    }
    return 0;
}
